package com.zq.设计模式23种.创建型模式.单例模式;

/**
 * @author Jiu
 * @description：懒汉式变种
 * @date 2020/11/24   11:26
 **/
public class SingletonEB {

    private static SingletonEB instance = null;

    static {
        instance = new SingletonEB();
    }

    public static SingletonEB getInstance() {
        return instance;
    }
}
